<?php
class Forum_Controller_Dispatcher
{
    public function dispatch(Forum_Controller_Request $request, Forum_Controller_Response $responce)
    {
        $class = ucfirst($request->getControllerName()) . 'Controller';
        
        $action = $request->getActionName() . 'Action';
        
        $controller = new $class($request, $responce);
        
        $controller->$action();
    }
}